import { createI18n } from 'vue-i18n'
import type { I18n } from 'vue-i18n'
import en from './en.ts'
import zhCn from './zh-cn.ts'

const i18n: I18n = createI18n({
  legacy: false,
  locale: 'zh-cn',
  messages: {
    'zh-cn': zhCn,
    en: en,
  },
})

export default i18n
